package com.sanjiayi.result;

import java.io.Serializable;
import java.util.List;

public class PageResult implements Serializable {
    private Integer total;  // 总记录数
    private List<?> rows;  // 当前页结果

    public PageResult() {
    }

    public PageResult(Integer total, List<?> rows) {
        this.total = total;
        this.rows = rows;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public List<?> getRows() {
        return rows;
    }

    public void setRows(List<?> rows) {
        this.rows = rows;
    }
}
